package com.anjiebang.utils;

import com.anjiebang.mvc.app.vo.AppMember;

/**
 * Created by zheng on 2017/9/21.
 * 微信内部用户贷款工具类
 */
public class InternalUserUtil {


    private static ThreadLocal<AppMember> userLocal = new ThreadLocal<>();

    public static AppMember getInternalUser() {
        return userLocal.get();
    }

    public static void setInternalUser(AppMember appMember) {
        userLocal.set(appMember);
    }

    public static long now() {
        return System.currentTimeMillis();
    }



}
